package com.jake.springboot.mybatis.mapper;

import com.jake.springboot.mybatis.domain.Customer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CustomerMapper {

    Customer getById(Integer customerId);

    int updateById(@Param("customer") Customer customer, @Param("customerId") int customerId);
}
